
#include "S_1_DeviceInformation_doChange.h"
#include "property_decoder.h"
#include "spec.h"
 

void P_1_5_SerialNo_doChange(const char * newValue)
{
	property_value_t thiz;
    memset(&thiz,0,sizeof(thiz));
	
#if 	PROPERTY_TYPE
	property_value_new_string(&thiz,newValue);
#else	
    thiz.format = PROPERTY_FORMAT_STRING;
	strncpy(thiz.data.string.value, newValue, strlen(newValue));
	thiz.data.string.length = strlen(newValue);
#endif
	
    if (send_property_changed(1, 5, &thiz) != MIIO_OK)
    {
        LOG_INFO("send_property_changed failed!\n");
    }
}





